# -*- coding: utf-8 -*-
# @Time     :2021/10/26 16:21
# @Author   : master
# @Software : PyCharm
from pandas import DataFrame
from tools import project_path
import pandas as pd


class GetData():
    '''反射、获取cookie'''
    Cookie = None
    NoRegTel = int(pd.read_excel(project_path.test_case_path,
                                 sheet_name='init', header=None).loc[0, 1])
    normal_tel = int(pd.read_excel(project_path.test_case_path,
                                   sheet_name='init', header=None).loc[0, 1])
    print(NoRegTel)


# print(getattr(GetData, 'NoRegTel'))
# setattr(GetCookie, 'Cookie', '123456')        # set attribute  设置属性
# print(hasattr(GetCookie, 'Cookie'))        # has attribute  判断是否有这个属性
# delattr(GetCookie, 'Cookie')              # delete attribute  删除这个属性
# print(hasattr(GetCookie, 'Cookie'))        # has attribute   判断是否有这个属性
# print(getattr(GetCookie, 'Cookie'))        # get attribute     获取属性值
#
